<me:UIABPOS  x:Class="WPFExcelReport.TCYNET"
 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
 xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"
     xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                 xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
              xmlns:me="clr-namespace:WPFExcelReport" 
              x:Name="TV"
      Loaded="Window_Loaded"
 >
    <me:UIABPOS.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:JWCONVERTER  x:Key="JW"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:String2ColorConverter  x:Key="str2color"/> 
        </me:UIABPOS.Resources>
    <Grid  Margin="10,10,0,0" VerticalAlignment="Stretch">
        <Grid.RowDefinitions>
            <RowDefinition   Height="Auto" />
            <RowDefinition   Height="Auto" />
            <RowDefinition   Height="1*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/> 
        </Grid.ColumnDefinitions>
        <Grid Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" >
            <Grid.RowDefinitions>
                <RowDefinition   Height="Auto" />
                <RowDefinition   Height="1*" />
            </Grid.RowDefinitions>
            <StackPanel Grid.Row="0">
                <WrapPanel Grid.Column="0">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                            <ColumnDefinition Width="24"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=发布}}"  Width="Auto"></TextBlock>
                        <Button Grid.Column="1" Height="20"  Width="24" Margin="00,0,0,0" Visibility="{Binding IsPublish, Converter={StaticResource ResourceKey=bv}}"  Click="btnConvert_Click" KeyboardNavigation.TabIndex="3" IsDefault="True">
                            <Button.Background>
                                <ImageBrush ImageSource="/ImagePackage;component/Images/Save.png" />
                            </Button.Background>
                        </Button>
                    </Grid>
                    <TextBlock Visibility="Collapsed"   Text="{Binding Source={Localization:Translate Word=打印}}" ></TextBlock>
                    <Button   Height="20"  Width="24" Margin="0,0,0,0"   Click="btnPrintAV95_Click" KeyboardNavigation.TabIndex="3" IsDefault="True" Visibility="Collapsed">
                        <Button.Background>
                            <ImageBrush ImageSource="/ImagePackage;component/Images/Print.png" />
                        </Button.Background>
                    </Button>
                    <TextBlock Grid.Column="2" Text="{Binding Source={Localization:Translate Word=删除网络}}" Margin="20,0,0,0"></TextBlock>
                    <Button  Height="20" Visibility="{Binding IsDelete, Converter={StaticResource ResourceKey=bv}}"  Width="24" Margin="20,0,0,0" Click="btnDeleteABON_Click" KeyboardNavigation.TabIndex="3" IsDefault="True">
                        <Button.Background>
                            <ImageBrush ImageSource="/ImagePackage;component/Images/Delete.png" />
                        </Button.Background>
                    </Button>
                </WrapPanel> 
            </StackPanel> 
        </Grid>  
    </Grid>
</me:UIABPOS>
